<!-- 购物车 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车--书瞳</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/header.css">
    <link rel="stylesheet" href="css/popBox.css">
    <link rel="stylesheet" href="css/cartnav.css">
    <link rel="stylesheet" href="css/cart.css">
    <link rel="stylesheet" href="css/emptyMsg.css">

    <!-- fontawesome字体 -->
    <link rel="stylesheet" href="font/font-awesome.min.css">
</head>

<body>
    <!-- 头部 -->
    <div id="header">
        <div class="headerBox">
            <ul class="headerBox_left">
                <li class="activate_font"><a href="index.html" class="activate_font">书瞳</a></li>
                <li><a href="login.html">登录</a></li>
                <li><a href="register.html">注册</a></li>
            </ul>

            <ul class="headerBox_right">
                <li><a href="star.html"><i class="fa fa-star activate_font"></i>&nbsp;&nbsp;收藏</a></li>
                <li><a href="cart.html"><i class="fa fa-cart-plus activate_font"></i>&nbsp;&nbsp;购物车</a></li>
                <li class="my">
                    <div>我的&nbsp;&nbsp;<i class="fa fa-caret-left activate_font"></i></div>
                    <ul class="mylist">
                        <li><a href="order.html">订单</a></li>
                        <li><a href="consignee.html">收货地址</a></li>
                        <li><a href="#" class="changePwd">修改密码</a></li>
                    </ul>

                </li>
            </ul>
        </div>

        <!-- 修改密码隐藏框 -->
        <!-- 编辑弹出框 -->
        <div class="outsideLayer" style="display: none;"></div>
        <div id="pwd" class="popBox" style="display: none;">
            <div class="popTitle">
                <span>修改密码</span>
                <span><a href="#" class="dropPop">×</a></span>
            </div>
            <div class="popContent">
                <div class="popItem">
                    <span>新密码</span>
                    <div>
                        <input type="password" />
                    </div>
                </div>
                <div class="popItem">
                    <span>确认密码</span>
                    <div>
                        <input type="password">
                    </div>
                </div>

            </div>
            <div class="popBtn">
                <button class="ok" id="pwdok">确认修改</button>
                <button class="cancel dropPop">取消</button>
            </div>
        </div>
    </div>

    <!-- 中间logo部分 -->
    <div id="nav">
        <div class="navBox">
            <div class="logo">
                <img src="image/logo.png" alt="">
            </div>
            <span class="title">购物车</span>
            <ul class="bar">
                <li class="lichoose">我的购物车</li>
                <li>填写订单</li>
                <li>完成订单</li>
            </ul>
        </div>
    </div>

    <!-- 购物车 -->
    <div id="cart">
        <div class="cartBox">
            <!-- 上面部分 -->
            <div class="up">
                <ul>
                    <li><a href="index.html">
                            < </a>
                    </li>
                    <li>商品信息</li>
                    <li>单价/元</li>
                    <li>数量</li>
                    <li>金额</li>
                    <li>操作</li>
                </ul>

                <!-- 商品 -->
                <ul class="shop mt12">
                    <li class="aicenter"><input type="checkbox" class="chk" /></li>
                    <li class="jcstart f333"><img src="image/2.jpg" alt=""><span class="mt12">算法</span></li>
                    <li class="mt12">￥18.80</li>
                    <li class="mt12 btnBox">
                        <button>-</button>
                        <div>
                            <input type="text" value="1">
                        </div>
                        <button>+</button>
                    </li>
                    <li class="mt12 f333">￥18.80</li>
                    <li class="mt12 caozuo">
                        <p><a href="#">移入收藏</a></p>
                        <p><a href="#">删除</a></p>
                    </li>
                </ul>

                <ul class="shop mt12">
                    <li class="aicenter"><input type="checkbox" class="chk" /></li>
                    <li class="jcstart f333"><img src="image/2.jpg" alt=""><span class="mt12">算法</span></li>
                    <li class="mt12">￥18.80</li>
                    <li class="mt12 btnBox">
                        <button>-</button>
                        <div>
                            <input type="text" value="1">
                        </div>
                        <button>+</button>
                    </li>
                    <li class="mt12 f333">￥18.80</li>
                    <li class="mt12 caozuo">
                        <p><a href="#">移入收藏</a></p>
                        <p><a href="#">删除</a></p>
                    </li>
                </ul>
            </div>

            <!-- 下面部分 -->
            <div class="down">
                <p><input type="checkbox" class="vamiddle" />全选</p>
                <p><a href="#" class="f333">批量删除</a></p>
                <p class="taleft">已选择<span class="activate_font">1</span>件商品</p>
                <div class="priceBox">
                    <p>
                        <span>总计（不含运费）：</span>
                        <span class="activate_font fs20">￥18.80</span>
                    </p>

                    <p>
                        <span>已节省：</span>
                        <span>￥6.00</span>
                    </p>
                </div>
                <a href="corder.html"><button>结算</button></a>
            </div>
        </div>
    </div>


    <!-- 购物车为空时显示 -->
    <div id="empty" class="displayNone">
        <img src=" image/empty.png" alt="">
        <div>
            <h4 class="tit">您的购物车为空哦！</h4>
            <p class="msg"><a href="index.html" class="activate_font">去随便逛逛吧，</a>看有没有喜欢的</p>
        </div>
    </div>

    <!-- js代码 -->
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/header.js"></script>

</body>

</html>